package com.zh.text.demo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author : ZH
 * @date : 2022-02-09 15:39
 **/
public class HelloWord {
    @RestController
    public class HelloController {

        @RequestMapping("/hello")
        public String hello(){
            return "hello,world";
        }
    }
    @RestController
    public class HelloController1 {

        @RequestMapping("/hello1")
        public String hello(){
            return "hello,world";
        }
    }
}
